import React, { useCallback } from 'react'

function NotRight( {history} ) {
    // console.log(arguments)
    const layout = useCallback(function() {
        history.push('/login')
    },[])
    return (
        <div>
            <h4>403</h4>
            <button onClick={layout}>返回登录</button>
        </div>
    )
}
export default NotRight